package cloud.keveri.gateway.sdk.annotation;

import cloud.keveri.gateway.sdk.Protocol;

import java.lang.annotation.*;

/**
 * Gateway 服务标记
 * <p>
 * 作者：沈自在
 **/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
@Inherited
public @interface GatewayService {

    /**
     *
     */
    String serviceId();

    /**
     *
     */
    String version() default "1.0.0";

    /**
     *
     */
    Protocol protocol();

    /**
     *
     */
    String patternPath();

    /**
     *
     */
    String interfaceName() default "";
}
